package com.hualan.mapper;

import com.hualan.domain.UserMarkTeacher;
import com.hualan.domain.Usermark;

import java.util.List;

/**
* @author 86175
* @description 针对表【usermark(用户评价表，存储用户对咨询师的评价信息)】的数据库操作Mapper
* @createDate 2024-09-09 19:01:44
* @Entity com.hl.domain.Usermark
*/
public interface UsermarkMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Usermark record);

    int insertSelective(Usermark record);

    Usermark selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Usermark record);

    int updateByPrimaryKey(Usermark record);

    //联表查询用户评价(teacher user
    List<UserMarkTeacher> getUserMarkTeacher();

    //模糊查询用户评价
    List<UserMarkTeacher> findLikeUserMark(String message);

}
